#ifndef _SD_CARD_LOGGER_H_
#define _SD_CARD_LOGGER_H_

#include "Cpu.h"
#include "SM1.h"
#include "AS1.h"
#include "FC321.h"

#define LED0 PORTA_PA7
#define LED1 PORTA_PA6

#define SECTOR_LENGTH 512
#define DATA_PACK 510
#define BUFFER_OFFSET (SECTOR_LENGTH-DATA_PACK)

void sd_card_logger_init (void);
void sd_card_logger_main (void);

#endif /* _SD_CARD_LOGGER_H_ */
